//
// Created by jack on 2021/2/5.
//

#ifndef WEILACSDK_WEILAPB_COMMONDEC_H
#define WEILACSDK_WEILAPB_COMMONDEC_H

enum {
    USER_NICK_INDEX = 0,
    USER_NUMBER_INDEX,
    USER_COUNTRY_CODE_INDEX,
    USER_AVATAR_INDEX,
    USER_PHONE_INDEX,
    USER_EMAIL_INDEX,
    USER_COUNT
};

extern void* weilapb_decodeSubMsgUserInfo(pb_istream_t* stream, const pb_field_t* field);
extern void  weilapb_prepareUserInfoField(PBFieldData* pFieldList, WL_Common_UserInfo* pUserInfo, PBUserInfo* pInfo);
#endif  // WEILACSDK_WEILAPB_COMMONDEC_H
